Removed unneeded behavior.core

... and fixed JS indenting (thanks @dgt41)