Load CSS/JS on needed pages only. Update order of action and functions