Javascript library built with requirejs