Removed reliance on ASI

Automatic Semicolon Insertion was intended as an error correction
procedure but has been found to cause baldness

ran through jsBeautifier and jsHint