added js work