converting project to plain jquery