Update ready.js

declaring variable 'ready' no longer required