Added initial UI layout and JavaScript