Initial JS work

Began writing functions and creating functionality for app