This is a simple javascript which enables to 'shake' html elements