$ is undefined for some reason...