replace remaining try/catch blocks for require copay with browserify

also add two more tests to index.html