A quick proof of concept for loading js based on device type