Pass some args to onReady event for Layer