Moved Javascript to main.js :)