[JavaScript] Refactoring Actions in progress