Update entities.js

Optional swing arm boolean parameter.