fix require jQuery error