Added cases where you need to use hash

like when using phonegap.