JavaScript and HTML5 minimalistic framework