clean up js
add resource type zone template
resource zone style begin
clean up template.php