load form from JS