Make compatible with bower/amd project