Front end js tests