```coffeescript
require './shim/phantomjs-bind'

window.Promise = require 'bluebird'
if process.env.NODE_ENV == 'development'
  Promise.longStackTraces()

window.Rdb = require('rdb/index')
```

Use bluebird only as polyfill
user
```coffeescript
require './shim/phantomjs-bind'

unless window.Promise?
  window.Promise = require 'bluebird'

  if process.env.NODE_ENV == 'development'
    Promise.longStackTraces()

window.Rdb = require('rdb/index')
```
assistant