fixing js.erb due to asset error