added front end scripts, entire app runs using single script and firebase