properly load javascript for mobile and non-mobile ENVs
styling