Removed JS logging and commented code.