Bug in gotcms.js