Correct trimming order of operations in $addClass method
Check for data keys on Wee.data.request before assuming a querystring is present