d137:  Beautified code, ran through jslint and corrected code to latest JS standards by Xotic
d137:  Beautified code, ran through jslint and corrected code to latest JS standards by Xotic