kvz/phpjs — pull request #50 by amatiasq (2012-11-14 19:37:51+00:00)
Title: Refactored

The main idea is to remove the huge switch cases.
Adding some Javascript good practices (mappings, use of natives, unnecesary comparisons).
Passed from 181 lines and 446 colums to 131 lines and 107 columns.

It passes the examples and I'm using it.