Removed JS console log calls, used for debugging