boilerplate for js app