removed illegal tokens in jQuery