install requirejs, code some logic, basic test interface