Basic Javacsript functioning

A starting point for the front-end