Added masonry js files and modified hook AjaxAddScript to call