Updated to use encodeURIComponent
Bump version to 0.1.6