title: PhpStorm forcing file type
body: <p>I have my script.php file in project. It contains javascript, but I wanted it to ne created dynamicly, based on server-side data.</p>
  
  <p>I setted it's Content-type to text/javascript with php, but PhpStorm does not see it as javascript  file. So I loose javascript syntax hightlighting, error detection, live templates...</p>
  
  <p>How can I force PhpStorm to see that .php file as javascript file?</p>