[js] better js and styling