A Function-oriented Dialect of JavaScript