bugfix for empty js content when parse to ast