moving js to js folder

adding engine folder