Store write operations
Create RequireJS operation instead of using config
Tidy up