Use app require.config, fix #3
clean code, remove unused variables
Use jQuery to test result view.getDOMNode, #2