Add drawer menu definition and JavaScript call