How to defer parsing JavaScript to reduce blocking of page rendering?

@kuligaposten

Re: photos... yes, I'm aware. That particular part of the site was put on the back burner temporarily as it was not crucial to the client since he has so many other places (FB, Instagram) where people can see photos.

In fact, I've been trying to get my clients to get away from the desire to have large photo galleries on their websites since it consume lots of space and bandwidth, and there are so many better options these days where they can just upload their pics easily from their phones (again, FB, Instagram) as opposed to having to create a complicated means for them to upload pics to their own website.

Unless it's for a client like a photographer, etc, who specifically wants to showcase their photos, or a company that wants to show galleries or products, etc.