Implements javascript / ajaxifies actions