Introduction to JavaScript unit testing