Fixed annoying error "$() is not a function"