added js line work