added popup libs. refactored timer code to be more "ember"