Added errors,js