Rewrote Javascript to seperate file and updating clock.
deleted useless test files