Added javascript functions to add and remove panels. Need to save panels.