A copy of ninja-code, which has been rewritten in server side JavaScript