semi-colon typo fixes + add type to js script markup