JSHint was breaking on build

This commit adds a {} for an inline if statement that was breaking the
jshint part of the grunt build
Merge pull request #51 from jefflembeck/master

JSHint was breaking on build
Safety checks for data-src attribute so we don't attempt to load "undefined" image
Merge branch 'patch-2' of https://github.com/nchls/JAIL into patch-2