make sure the js is compiled