Removed debug code in JS added in last commit.