Commit min.js UI

Extension to min.js for more complex functions, saving space by
externalizing the files.