Activity Service JS changes to extend from AtomEntity