added source maps and improved build tools