Update plato.js

Removed checking for