CoffeeSecript implementation, Guard for compilation, cleanup and fix tests with encodeURIComponent