deleting unused functions.js, adding padding around api docs homepage and improving layout of links as suggested by @leggetter