Debuged js code