jQuery must be used instead of $ after check for library