created js folder and javascript file rps