core.js - specific config for apple devices

a more generic function should be implemented.
this will target any device.
Merge pull request #87 from blaspix/patch-9

core.js - specific config for apple devices