Replaced 'use strict' and format cleanup in html