method defined
js standalone