Updated layout page, now handles jQuery scripts