Added Constants file

Added a constants.js file, where all assumed (hardly changing) elements
are stored in the form of arrays.
Added global functions file

Added globalFunctions.js file to house all global client-side functions
used throughout the system