fixed js/css applying to wrong pages