Easy html toolbar creation with javascript