Converted to AMD module, tweaked bower file