Corrected a typo with the HTTP_X_UA_DEVICE detection
Fixes #9 - theme delivery functionality was not being allowed for ajax requests