Maybe you can add a tutorial page for how to enhance your interface files with javascript code?
Maybe you can help here too: http://stackoverflow.com/questions/24864265/add-javascript-in-openwrt-luci-interface
I would like to add a javascript in the gluon webinterface So i you enter a pair of coordinates into one the latitude input field, the logitute part is automatically moved to the other input field.