<FilesMatch "\.js$">
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</FilesMatch>