Bed Monitor: Removed sql code that added ten rows ...

on init and fixed the javascript instead.