added bed and changed javascript include