Added JS flags for debugging