modified js2