Boilerplate for javascript work