fix performance issue

should use jquery load for displaying blocks!
several changes

a) clean up code a little
b) create info page
c) use init in controller class to help register global js file