fix loading of the js