moved logic to main.js
moved ga to own file
taking random moments