EmebrJS integration with rails 4