Removed the device key from the view + js