fix for rails 4
Update to latest sir-trevor-js