migrated to Char, js errors around