Added dependencies

Added dependencies to avoid breaking the code when minifying.