node 0.8 doesn't seem to support ^, so let's use ~