fixed quick js problem