change js to concat'd/minified, make templates support any post type