Create javascript note