Update core.js

Detects the optional "tabletSupport" from data.json file and if true enables the tablet view of the custom component.