Experiment with universal code

Added experimental.js, a module that can be used both in the
browser and running within node.js.