Update index.coffee with function refactor

Made `include` function do the work of `getDistPath` and got rid of
`getDistPath` since that is all `include` does anyway.