moved xlform files into jsapp. converted js files into AMD