Installed devise, courses and users models. default.js error