Trying things

Updated jQuery to newer version,
Tried to get dynamic forms to work (failed)
Corrected function indentation in several places.