Separate the event-handler logic a little, just to avoid "onclick="
Merge pull request #3 from tyrelt/inlineInstall

Separate the event-handler logic a little, just to avoid "onclick=..."