add optional requirejs support
unix line endings
add requirejs example