minor fixes, add: universal alert function
Merge pull request #18 from tomaszrondio/master

minor fixes, add: universal alert function. form validation