Don't expect limit param from server
Rearrange some JS; add AMD-loader and file-upload JS libraries
Implement attachment upload, via S3