added semi colon to end of moment code, removed extra semicolon on ionic platform ready promise