Update Main.js

Added a simple JS timer script. It's a test. Obviously, if you compile Main.ts you'll override this script, but try it out. It works fine.