reordered JS structure and started to fetch data from DB in getuservinyls.php