changed Build.PL, using Module::Build, added js extension

the Build.PL now accepts js extensions
Merge pull request #2 from mudler/patch-2

changed Build.PL, using Module::Build, added js extension