Restructure to modern js app

Signed-off-by: Devon Hazelett <xdev@devxdev.com>