moved JS to vendor