Make more readable.

Fix spacing, indentation, etc.
fix spacing
Add 'use strict' pragma.
unescape() is deprecated, use decodeURI()