moving scripts file in to js dir