Backone for rails on javascript