PatternJS - Making background image patterns in JavaScript