JS to insert project