Ok... looks like it doesn't like this sort of code:
<!------ REMARK ----->
Looked at the source code in the browser and saw these remarks aren't being ended properly effectively blocking the browser from running that part of the code.
Removed the remark sections and the code appears to be running. Will do more testing. If anything adverse shows up I will add to this thread, otherwise its fixed.