This breaks if the blog is not located at the root URI. It might be better to use javascript_include_tag and stylesheet_link_tag.