quickfix, forgot to pass local variable in create.js.erb