added behaviorAPI.js