changed buttons on activities fixes #197
remove unused function and clean up html5 activity code a bit.
work in progress code was wrongly commited, removing.