split js to another file