adding JavaScript dialect