js handler added