more layout formating - added new blade template and js functionality