Commented out currently unused javascript logic.
More encoding errors fixups.