Moved BullBear js into a separate file