removing jquery as required dependency in code (merging changes from metafizzy/outlayer)