moved js to different file