Attempt at a simple Netbeans GUI platform in pure JS