Updated core-b3.erb.js

Updated for image uploading