Added a debug flag for JS debugging.