almost there: added mock-json; fixed js; rearranged index.