add slash at js