Supporting modular programming (via plugin system)

Is there a way to make bootstrap.js work inside ./api folder?