latest with javacript