added more js frontend