added commented JS for further usage