window.$ is not a function