commiting some javascripts which are necessary