Added js console for debugging on iPhone