Updated correct javascript calls for Unity player