Minor
Separate js to another file