temporary fix, redirect to login page does not work
setup requirejs optimizer
update lib to underscore-amd