Wetator / JavaScript Malformed URL Reference Error