code for JS framework shootout