javascript mode is off.. some functions can't work well..