adding behavior_window.js

reviewer: @kvlees