browserification and tests