refactor requirejs library setup, remove error logging