emacs23 compatible
clean javascript stuff