Finalizing front end UI js files (Adding testSpec features)