beginning of javascript