move behavior on html to Behavior.js