Only test rails 3.1
Print js.