js debugging post and related changes.