added non.web dir
updated to work with requirejs