(function($) {... changed to $(document).ready(function () {...
Closure (function($) {}(jQuery)); not working on safari 7.0.5