fix js bug, gst