fix all statement in js