Updated with some small JS fixes, set up new method for detecting mobile support.