a collection of javascript code