Cleaned up commands.js