Update to ResponsiveUI class so it's more robust for first run after minifying
Added default ref back into script.js