rearrange guidelines into javascript and CSS sections