[JS] - Fixed current slide calcs