Added a JS function, This is soon to become Object Orientated Programming