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

the Build.PL now accepts js extensions