Start of javascript base library