Converts the requirejs bad syntax into good syntax