Collection of javascript code