Tweaked main JS file for code reuse (part 1), cleaned up HTML and moved styles into a separate CSS file under the Content folder