Apply behaviors correctly on startup
Move javascript behaviors into separate classes
Remove unused behavior base-class