re-architected application to use require js for pane.