fixed the collapse function, refactored LOAD() to use new web2py.js
Merge pull request #118 from niphlod/feature/component_refactor

fixed the collapse function, refactored LOAD() to use new web2py.js