<Files ~ "\.js$">
    Order allow,deny
    Allow from all
</Files>

