added js test