put some js magic to page