Small Javascript update