fixed missing function in browser drawing.js module; formatting changes --KW