putting js in js folder