fix cjsx for rails 4.x