A simple Javascript compiler