Added missing semicolons in urlify.js.
Correctly loop over arrays and hashes (yay javascript).
Added missing var statements.