now should be run on rails 4.0 and higher
jCanvas updated