Fixed issue with quojs ; Added tests on it