programmatically disables the new investment view submit button. It was not working in Firefox.
adds missing local variables
improves build process
ignores build folder