Merge pull request #1 from ndhoule/development

Fixed mixed tabs/spaces in HTML file
Fixed indentation, missing semicolons
Fixed indentation; missing semicolons; misspelled var name