Grid style using jQuery in WordPress