Updated layout file and added random background jQuery function