Added js for dynamic form resize function.