JS tick fix