lightweight nodejs module for testing and covering browser-side code