Fixed NG error and added JS map files for debugging.