Addition of filter option on registerJsFile

Addition of filter option on registerJsFile.
If set to false will add HTTP header.