Moved js to separate files
Stashing