Working on extending the JS Entity object.