added: hidden to allow switching between buffers without saving, remove requirejs