set platform body class from cordova hook