moved dependencies into js folder