changed code to properly redirect to css/js resources

still needs to be tweeked inside the example.php controller/view
template