added js features