fix build minimization problems due to separating jquery