html updates.
reformatted the javascript file for easier reading