Improvements to Mobile Device Detection