MEAN + AWS Javascript library