moving the js assets in to dependencies