Incomplete embedded javascript causing browser errors.