devise#session.js error fixed