Added styling, fixed template and js