The error had to do with IE caching the script. After closing and reopening several times my changes were taken and it works.
What I did find was that if you are calling a Javascript function that uses several parameters you cannot use a simple comma",". Instead I had to type in the comma as it's ASCII value (,) in order for it to work.