remove repetitive calls to css/js
removed repetitive calls

these have been causing bugs, including modal popups not working