Made Ladda an AMD module
update code style to match for #16