Update base-idea.js

Adding a remove attr observer function