fix nonexistent spm3 dependency

$ is not exist, use jquery instead.