Added ecmascript (Javascript) mode.