Handy js script for unit testing js with a fluent interface (chained methods)