Fix JS execution time