Added Javascript and continued work on refinements.